<td><input type="checkbox" name="id[]" value="{$vo.id}"></td>

<td>{$vo.user_id}</td>
<td>
  <a title="详细资料" href="javascript:;" onclick="driverInfo({$vo.user_id})" style="text-decoration:none">{$vo.realname}</a>&nbsp;
</td>
<td>
  {if empty($vo['head_img']) || !file_exists($public_path.$vo['head_img'])}
  暂无头像
  {else /}
  <img src="{$vo['head_img']}"  width="50px" height="50px ">
  {/if}
</td>
<td>{$vo.plate_number}</td>
<td>{$vo.account}</td>
<td>{$vo.id_card}</td>
<td>{$vo.weixin_no}</td>
<td>{$vo.seats}</td>
<td>
{php}
  if(!empty($vo['r_name'])){
   echo $vo['r_name'];
  }else{
   echo '新手';
  }
{/php}
</td>
<td>
  {php}$type_name = Db::name('driver_type')->where('id',$vo['driver_type'])->value('name');{/php}
  {if empty($type_name)}
    '未填写'
  {else /}
    {$type_name}
  {/if}
</td>
<td>
  {$vo.vehicle_level | default='未评级'}
</td>
<td>
  <!--车型-->
  {php}$arctic = Db::name('arctic')->where('id',$vo['arctic_id'])->find();;{/php}
  {if empty($vo['arctic_id']) && empty($arctic)}
  {$vo.car_type}
  {else /}
  {php}echo $arctic['name'];{/php}
  {/if}
</td>
<td>
<!--车牌-->
  {php}$car_brand = Db::name('car_brand')->where('id',$vo['car_brand_id'])->find();{/php}
  {if empty($vo['car_brand_id']) && empty($car_brand)}
  {$vo.car_brand}
  {else /}
  {php}echo $car_brand['brand_name'];{/php}
  {/if}
</td>

<td>
<!--汽车型号-->
  {php}$car_model = Db::name('car_model')->where('id',$vo['car_model_id'])->find();{/php}
  {if empty($vo['car_model_id']) && empty($car_model)}
    {$vo.car_model}
  {else /}
    {php}echo $car_model['car_model'];{/php}
  {/if}
</td>

<td>
  {if ($vo['inservice']==1)}
  服务中
  {else /}
  不在服务
  {/if}
</td>
<td>
{php}
  if($vo['tag']){
    $tag = Db::name('driver_tag')->where('id','in',$vo['tag'])->field('chinese')->select();
    $tagStr = '';
    foreach($tag as $tk=>$tv){
      $tagStr .= $tv['chinese'].',';
    }
    echo rtrim($tagStr,',');
  }
{/php}
</td>
<td>{$vo.nationality}</td>
<td>{$vo.order_num}</td>
<td>{$vo.number_of_refusals}</td>
